<h1>Auth#login</h1>
<p>Find me in app/views/auth/login.html.erb</p>
<%= form_for :user,:url =>{:action => "try_to_login"} do |f| %>
<div>
	<ul>
		<li>
			<span>用户名：</span><%= f.text_field :name%>
		</li>		
		<li>
			<span>密码：</span><%= f.password_field :pwd%>
		</li>		
	</ul>
	<p id="notice"><%= notice %></p>
</div>

<div class="actions">
	<%= f.submit '登录' %>
</div>
<% end %>
